/*
// * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.haven.login.service.imple;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.haven.login.dao.LoginDao;
import com.haven.login.model.Account;
import com.haven.login.service.LoginService;

/**
 *
 * @author Edson
 */
@Service(value="loginServiceImpl")
public class LoginServiceImplementation implements LoginService {

	
	
	public LoginDao getLoginDaoHibernate() {
		return loginDaoHibernate;
	}





	public void setLoginDaoHibernate(LoginDao loginDaoHibernate) {
		this.loginDaoHibernate = loginDaoHibernate;
	}




	@Autowired
	public LoginDao loginDaoHibernate;

    

    

	@Override
	public Account AutenticarUsuario(Account account) {
		// TODO Auto-generated method stub
		String strReturn = "";
		Account accountSession = this.loginDaoHibernate.AutenticarUsuario(account);
		return accountSession;
	}

}
